package org.sucri.servlet.controller;

import org.directwebremoting.annotations.RemoteMethod;
import org.directwebremoting.annotations.RemoteProxy;
import org.sucri.floxs.model.Invoker;

import java.util.Map;

/** A counterpart to the PropertyGrid in Extjs. One should be able to manufacture an instance of
 *  extPropertyGrid from an object based on its Assesor annotations.
 *
 * Created by IntelliJ IDEA.
 * User: Wen Yu
 * Date: Dec 22, 2007
 * Time: 2:21:37 PM
 * To change this template use File | Settings | File Templates.
 */
@RemoteProxy(name="PropertyGrid")
public class extPropertyGrid
{
  private Map<String, Invoker> mProperties;

  @RemoteMethod
  public String getPropertyStr(String name) { return mProperties.get(name).toString(); }  
}
